<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8" />
    <title>蓝票详情</title>
</head>
<body>
    <div th:fragment="infoBlock">
        <div class="module-block">
            <div  class="row-fluid" id="formSearch1">
                <div class="span6" >
                    <div class="form-inline padding15" role="form">
                        <input type="hidden" name="pPayGuid" th:field="*{guid}"   />
                        <div class="form-group">
                            <label class="form-label">是否即时开票：</label>
                            <p  class="form-label" th:switch="${formBean.immediatelyFlg}">
                                <p th:case="0">非即时开票</p>
                                <p th:case="1">即时开票</p>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">业务类型：</label>
                              <p th:each="codeName:${formBean.businessTypeList}" th:if="${codeName.code} == ${formBean.businessType}" th:text="${codeName.codeName}"/>
                        </div>
                        <div class="form-group">
                            <label class="form-label">物业小区：</label>
                            <p th:each="estate:${formBean.estateList}" th:if="${estate.sfGuid} == ${formBean.estateSfGuid}" th:text="${estate.estateName}"/>
                        </div>
                        <div class="form-group">
                            <label class="form-label">设备类型：</label>
                            <p  class="form-label" th:switch="${formBean.deviceType}">
                                <p th:case="0">税控服务器</p>
                                <p th:case="1">税控盘</p>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">发票种类：</label>
                            <p th:each="codeName:${formBean.invoiceKindList}" th:if="${codeName.code} == ${formBean.invoiceTypeCode}" th:text="${codeName.codeName}"/>
                        </div>
                        <div class="form-group">
                            <label class="form-label">开票流水号：</label>
                            <p class="form-label" th:text="${formBean.serialNo}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">特殊票种标记：</label>
                            <p  class="form-label" th:switch="${formBean.invoiceSpecialMark}">
                                <span th:case="00">普通发票</span>
                                <span th:case="02">农业发票</span>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">销方单位税号：</label>
                            <p class="form-label" th:text="${formBean.sellerTaxNo}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">开票流水号：</label>
                            <p class="form-label" th:text="${formBean.serialNo}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">开票点编码：</label>
                            <p class="form-label" th:text="${formBean.invoiceYerminalCode}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">购方单位税号：</label>
                            <p class="form-label" th:text="${formBean.buyerTaxNo}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">购方单位名称：</label>
                            <p class="form-label" th:text="${formBean.buyerName}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">购方地址及电话：</label>
                            <p class="form-label" th:text="${formBean.buyerAddressPhone}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">购方开户行及账号：</label>
                            <p class="form-label" th:text="${formBean.buyerBankAccount}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">购方电话：</label>
                            <p class="form-label" th:text="${formBean.buyerPhone}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">购方邮箱：</label>
                            <p class="form-label" th:text="${formBean.buyerEmail}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">开票人：</label>
                            <p class="form-label" th:text="${formBean.drawer}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">复核人：</label>
                            <p class="form-label" th:text="${formBean.checker}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">收款人：</label>
                            <p class="form-label" th:text="${formBean.payee}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">清单标志：</label>
                            <p  class="form-label" th:switch="${formBean.invoiceListMark}">
                                <span th:case="0">无清单</span>
                                <span th:case="1">有清单</span>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">红字信息表编号：</label>
                            <p class="form-label" th:text="${formBean.redInfoNo}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">征税方式：</label>
                            <p  class="form-label" th:switch="${formBean.taxationMode}">
                                <span th:case="0">普通征税</span>
                                <span th:case="2">差额征税</span>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">扣除额(元)：</label>
                            <p class="form-label" th:text="${formBean.deductibleAmount}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">合计金额(不含税，元)：</label>
                            <p class="form-label" th:text="${formBean.invoiceTotalPrice}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">合计税额(元)：</label>
                            <p class="form-label" th:text="${formBean.invoiceTotalTax}/100"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">价税合计(元)：</label>
                            <p class="form-label" th:text="${formBean.invoiceTotalPriceTax}/100"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">作废标志：</label>
                            <p  class="form-label" th:switch="${formBean.invlidFlg}">
                                <span th:case="0">无</span>
                                <span th:case="1">已作废</span>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">作废时间：</label>
                            <p class="form-label" th:text="${formBean.invlidTime}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">红冲标志：</label>
                            <p  class="form-label" th:switch="${formBean.redFlg}">
                                <span th:case="0">无</span>
                                <span th:case="1">有红冲</span>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">已红冲金额(元)：</label>
                            <p class="form-label" th:text="${formBean.redInvoiceTotalPriceTax}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">可红冲金额合计(元)：</label>
                            <p class="form-label" th:text="${formBean.enRedAmount}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">签名值参数：</label>
                            <p class="form-label" th:text="${formBean.signatureParameter}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">税控盘编号：</label>
                            <p class="form-label" th:text="${formBean.taxDiskNo}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">税控盘口令：</label>
                            <p class="form-label" th:text="${formBean.taxDiskKey}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">税务数字证书密码：</label>
                            <p class="form-label" th:text="${formBean.taxDiskPassword}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">备注：</label>
                            <p class="form-label" th:text="${formBean.remarks}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">税控盘口令：</label>
                            <p class="form-label" th:text="${formBean.taxDiskKey}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">税控盘口令：</label>
                            <p class="form-label" th:text="${formBean.taxDiskKey}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">发票代码：</label>
                            <p class="form-label" th:text="${formBean.invoiceCode}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">发票号码：</label>
                            <p class="form-label" th:text="${formBean.invoiceNo}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">开票开始时间：</label>
                            <p class="form-label" th:text="${formBean.invoiceStartTime}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">开票完成时间：</label>
                            <p class="form-label" th:text="${formBean.invoiceEndTime}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">税控码：</label>
                            <p class="form-label" th:text="${formBean.taxControlCode}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">校验码：</label>
                            <p class="form-label" th:text="${formBean.invoiceCheckCode}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">二维码：</label>
                            <p class="form-label" th:text="${formBean.invoiceQrcode}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">打印类型：</label>
                            <p  class="form-label" th:switch="${formBean.invoicePrintType}">
                                <span th:case="0">发票打印</span>
                                <span th:case="1">清单打印</span>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">打印日期：</label>
                            <p class="form-label" th:text="${formBean.invoicePrintTime}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">打印标志：</label>
                            <p  class="form-label" th:switch="${formBean.invoicePrintFlg}">
                                <span th:case="0">未打印</span>
                                <span th:case="1">已打印</span>
                            </p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">开票状态：</label>
                            <p th:each="codeName:${formBean.invoiceStatusList}" th:if="${codeName.code} == ${formBean.invoiceStatus}" th:text="${codeName.codeName}"/>
                        </div>
                        <div class="form-group">
                            <label class="form-label">接口应用key：</label>
                            <p class="form-label" th:text="${formBean.appKey}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">接口编号：</label>
                            <p class="form-label" th:text="${formBean.interfaceId}"></p>
                        </div>
                        <div class="form-group">
                            <label class="form-label">电子发票下载地址：</label>
                            <p class="form-label" th:text="${formBean.invoiceUrl}"></p>
                        </div>

                    </div>
                    <div class="row-fluid">
                        <div class="span5" id="table-btnGrounb">
                            <!--<button class="table-btn" id="searchbutton" type="submit">关闭</button>-->
                            <button class="table-btn" type="button" onclick="javascript:history.go(-1);">关闭</button>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

</body>
</html>